Some high level languages (HLL) don't allow to pass arguments in
registers. For these HLLs, it's not possible to call a hook
directly. To use hooks with these HLLs, you must put HookEntry into
hook->h_Entry and the real callback function into hook->h_SubEntry.
HookEntry will push the registers on the stack and then call
hook->h_SubEntry.
INPUTS
hook
Call this hook.
object
This is the object which is passed to the hook. The valid
values for this parameter depends on the definition of the called
hook.
param
Pass these parameters to the specified object
RESULT
The return value depends on the definition of the hook.